<?php
/**
 * Sites Model
 *
 * PHP Version 5
 *
 * @package    Ecga
 * @subpackage Models
 * @author     FarmerLi <lixu_01@126.com>
 * @copyright  2010 Xingchangxinda Inc.
 * @version    SVN:$Id: projects.php 3051 2011-01-11 13:06:18Z sunbo $
 */

namespace Project\Apps\Ecga\Models;

use Framework\Mapper\DataSet;

use \Project\Models\Abstraction\Ecga\ImportFiles as bizImportFiles;

/**
 * Sites Model
 *
 * PHP version 5
 *
 * @package   Ecga
 * @author    FarmerLi <lixu_01@126.com>
 * @copyright 2010 Xingchangxinda Inc.
 * @version   Release: 0.1
 */
class ImportFiles extends bizImportFiles
{
    /**
     * 获取导入文件列表
     * 
     * @return DataSet
     */
    public function getAll()
    {
        return $this
            ->where('flags', '=', 0)
            ->orderBy('id', 'asc')
            ->fetch();
    }
}